package com.proton.carepatchtemp.adapterholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.proton.carepatchtemp.R;

/**
 * Created by MoonlightSW on 2017/2/22.
 */

public class HealthTipsHolder extends RecyclerView.ViewHolder {
    public TextView mTvMsgTitle;
    public TextView mTvMsgTime;
    public SimpleDraweeView mSdvHtImg;
    public TextView mTvHtContent;
    int i = R.layout.item_health_tip;

    public HealthTipsHolder(View itemView) {
        super(itemView);
        initView(itemView);
    }

    private void initView(View convertView) {
        mTvMsgTitle = convertView.findViewById(R.id.tv_msg_title);
        mTvMsgTime = convertView.findViewById(R.id.tv_msg_time);
        mSdvHtImg = convertView.findViewById(R.id.sdv_ht_img);
        mTvHtContent = convertView.findViewById(R.id.tv_ht_content);
    }
}
